home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
program
/
tpwpxeng.zip
/
PXEXIT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-07-22
|
360b
|
21 lines
program PX_Exit;
uses PXEngine, WinCrt;
var PxErr: Integer;
procedure PX(Code : integer);
begin
writeln(PXErrMsg(Code));
end;
begin
PX(PXWinInit('MyApp', pxShared));
(* Try and close Paradox environment *)
PxErr := PXExit;
if PxErr <> PxSuccess then
Writeln(PxErrMsg(PxErr))
else Writeln('Engine terminated.');
end.